package org.eclipse.jdt.internal.ui.callhierarchy;

public class TypeNamePair {

	private String type;
	
	private String name;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type= type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name= name;
	}
	
	public TypeNamePair(String type, String name) {
		this.type = type;
		this.name = name;
	}
	
	public static TypeNamePair buildTypeNamePair(String type, String name) {
		return new TypeNamePair(type, name);
	}
	
	public String toString() {
		return type + " " + name;
	}
}
